using B.S.BaseData.Domain.Entities.Log;
using System.Threading.Tasks;

namespace B.S.BaseData.Infrastructure.Interfaces
{
    /// <summary>
    /// 操作日志仓储接口
    /// </summary>
    public interface IOperationLogRepository : IBaseRepository<OperationLog>
    {
        /// <summary>
        /// 添加操作日志
        /// </summary>
        /// <param name="log">日志对象</param>
        /// <returns>操作结果</returns>
        Task<int> AddLogAsync(OperationLog log);
    }
}